package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import java.lang.Float;
import javax.validation.constraints.Size;
import org.joda.time.DateTime;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * ETbBankaccountRecord is a Querydsl bean type
 */
@Label("账户信息记录表")
public class ETbBankaccountRecord extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13153518991583L;    
    @Label("删除标记")
    @Size(max=8)
    private String flag;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("账户余额")
    private Float money;

    @Label("交易时间")
    private DateTime recordDate;

    @Label("交易金额")
    private Float recordMoney;

    @NotNull
    @Label("tbBankAccountId")
    @Size(max=45)
    private String tbBankAccountId;

    @NotNull
    @Label("tbFuelRechargeId")
    @Size(max=24)
    private String tbFuelRechargeId;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public DateTime getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(DateTime recordDate) {
        this.recordDate = recordDate;
    }

    public Float getRecordMoney() {
        return recordMoney;
    }

    public void setRecordMoney(Float recordMoney) {
        this.recordMoney = recordMoney;
    }

    public String getTbBankAccountId() {
        return tbBankAccountId;
    }

    public void setTbBankAccountId(String tbBankAccountId) {
        this.tbBankAccountId = tbBankAccountId;
    }

    public String getTbFuelRechargeId() {
        return tbFuelRechargeId;
    }

    public void setTbFuelRechargeId(String tbFuelRechargeId) {
        this.tbFuelRechargeId = tbFuelRechargeId;
    }

    public String toString() {
         return String.format("ETbBankaccountRecord { flag : %s,id : %s,money : %s,recordDate : %s,recordMoney : %s,tbBankAccountId : %s,tbFuelRechargeId : %s }",flag,id,money,recordDate,recordMoney,tbBankAccountId,tbFuelRechargeId);
    }

}

